﻿<UserControl x:Class="GameLibrary.Views.SearchView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:tl="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit"
             xmlns:tc="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit">
    <tc:DockPanel>
        <Border tc:DockPanel.Dock="Top"
                HorizontalAlignment="Center">
            <StackPanel Orientation="Horizontal">
                <TextBox x:Name="SearchText"
                         Width="225">
                    <TextBox.CaretBrush>
                        <SolidColorBrush Color="Gray" />
                    </TextBox.CaretBrush>
                </TextBox>
                <Button x:Name="ExecuteSearch"
                        Content="Go" />
            </StackPanel>
        </Border>
        
        <Button x:Name="AddGame"
                tc:DockPanel.Dock="Bottom"
                Content="Add Game"
                HorizontalAlignment="Center" />
        
        <tl:TransitioningContentControl x:Name="SearchResults" />
    </tc:DockPanel>
</UserControl>